<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.team.entity.User" %>
 <%@ page import="com.team.util.Const" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>新建一个项目</title>
	   <link rel="stylesheet" href="css/prettify.css" />
    <link rel="stylesheet" href="css/bootstrap.min.css" />
</head>
<body class="body">
 
<% 
	User user = (User)session.getAttribute(Const.SESSION_USER); 
 %>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="#" class="brand">凯盛项目管理系统</a>
				 <ul class="nav pull-right">
						<li><a class="nav pull-right" href="#">用户名： <%=user.getUsername() %></a></li>
				 </ul>
			</div>
		</div>
	</div>
	<div class="container">
            <div class="span10">
             <c:choose>
			<c:when test="${param.code=='1001'}">
				<div style="color:red;">均不为空间</div>
			</c:when>
			<c:when test="${param.code=='1002'}">
				<div style="color:red;">请稍后再试</div>
			</c:when>
			<c:when test="${param.code=='1003'}">
				<div style="color:red;">此用户不存在</div>
			</c:when>
			<c:when test="${param.code=='1004'}">
				<div style="color:red;">用户名或密码错误</div>
			</c:when>
			<c:when test="${param.code=='1005'}">
				<div style="color:red;">没有正确传参</div>
			</c:when>
		</c:choose>
		
			<form class="well,form-horizontal" action="newProj.jspx?_m=save" method="post">
				<fieldset>
				<div class="controls">
					 <label>项目名称</label>
						<input type="text" placeholder="请输入项目名称" name="projname"/>
						<p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
				</div>
				<div class="controls">
					 <label>负责人</label>
						<input type="text" placeholder="请输入项目名称" name="leader"/>
					<p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
				</div>
				
				<!--  <div class="controls">
					<label>负责人</label>
					<div class="controls">
						  <select id="multiSelect">
							<option></option>
							<option>Tom</option>
							<option>Jerry</option>
							<option>Rose</option>
							<option>Adsen</option>
						  </select>
					</div>
				</div> -->
				<div class="controls">
					<label>项目成员</label>
					<input type="text" placeholder="项目成员" name="member" />
				</div>
		        <div class="controls">
					<label>项目创建时间</label>
					<input type="text" placeholder="项目创建时间" name="time"/>
				</div>
				<div class="controls">
				   <label>项目简介</label>
				   <textarea rows="3" id="textarea" class="input-xlarge" name="text"></textarea>
				</div>
				<div class="controls">
					  <label>项目截止时间</label>
					  <input type="text" placeholder="项目截止时间" name="endtime"/><br/>
				</div>
		       
		       <div class="form-actions">
					 <button href="#" class="btn btn-primary">保存</button>
					<a href="listProj.jsp" class="btn btn-primary">取消</a>
			   </div>
			   </fieldset>
			</form> 
			
			</div>
      	
	

        
            
         
         
          
 	</div>
  	
</body>
</html>